package Class9_2;

import java.util.Scanner;

public class Work2Test {
    public static void main(String[] args) {
        Work2 b=new Work2();
        Scanner in=new Scanner(System.in);
        try {
            System.out.println("输入总课时和课程数");
            int i = in.nextInt();
            int j=in.nextInt();
            b.s1(i,j);
        }catch (Exception e){
          e.printStackTrace();
        }
    }
}
